/**
 * Package	: com.coship.tvweb.common.Exception
 * File		: Error.java
 * Company 	: Shenzhen Coship Electronics CO., LTD.
 * Version  : v1.0
 * Description 	: <Detail Description for package>
 *
 * Copyright (c) 2003-2009 Shenzhen Coship Electronics CO., LTD.
 * Rainbow Bldg.,North,Hi-Tech Industrial Park,Nanshan District,Shenzhen,China,P.C.518057.
 * All rights reserved.
 * The contents of this file are confidential and proprietary to COSHIP.
 * Copying is explicitly prohibited without the express permission of COSHIP.
 *
 * Create Date	: Nov 2, 2009
 * Create By    : 904120
 * History :$
 */
package com.coship.vasms.adstorm.exception;

/**
 * 
 * File Name : Error.java
 * 
 * @Description : 异常配置信息
 * 
 * @author 904120
 */
public class Error {
	// 错误代码
	private String code;
	// 错误信息
	private String text;
	// 描述
	private String description;

	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("code=").append(code).append(",text=").append(text).append(
				",description=").append(description);
		return sb.toString();
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}

	/**
	 * @param text
	 *            the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

}
